package com.zhiwang.planet.di.component

import com.zhiwang.planet.di.ActivityScope
import com.zhiwang.planet.di.module.AccountModule
import com.zhiwang.planet.di.module.AutoDisposeModule
import com.zhiwang.planet.ui.my.reward.RewardListActivity
import com.zhiwang.planet.ui.my.reward.RewardsFragment
import dagger.Component

@ActivityScope
@Component(dependencies = [AppComponent::class], modules = [AccountModule::class, AutoDisposeModule::class])
interface ListComponent {

    fun inject(activity: RewardListActivity)
    fun inject(fragment: RewardsFragment)
}